import { NgModule, ErrorHandler} from '@angular/core';
import { IonicPageModule, IonicErrorHandler} from 'ionic-angular';
//import { MyApp } from './app.component';

import { BrandsPage } from './brands/brands';
import { CartPage } from './cart/cart';
import { MePage } from './me/me';
import { SuggestionPage } from './suggestion/suggestion';
import { CommDetailPage } from './comm-detail/comm-detail';
import { TabsPage } from './tabs';
import { PopoverPage } from './comm-detail/comm-detail-popover';

import { StatusBar } from '@ionic-native/status-bar';
import { SplashScreen } from '@ionic-native/splash-screen';

@NgModule({
  declarations: [
    BrandsPage,
    CartPage,
    MePage,
    SuggestionPage,
    CommDetailPage,
    TabsPage,
    PopoverPage
  ],
  imports: [
    IonicPageModule.forChild(BrandsPage),
    IonicPageModule.forChild(CartPage),
    IonicPageModule.forChild(MePage),
    IonicPageModule.forChild(SuggestionPage),
    IonicPageModule.forChild(CommDetailPage),
    IonicPageModule.forChild(TabsPage),
    IonicPageModule.forChild(PopoverPage),
  ],
  entryComponents: [
    BrandsPage,
    CartPage,
    MePage,
    SuggestionPage,
    CommDetailPage,
    TabsPage,
    PopoverPage
  ],
  providers: [
    StatusBar,
    SplashScreen,
    {provide: ErrorHandler, useClass: IonicErrorHandler}
  ]
})
export class AnasShopModule {}
